package sg.nus.iss.vmcs;

import sg.nus.iss.vmcs.controllers.MainController;

/**
 * Loader class for the VMCS simulation<br>
 * Modifications:
 * <li>Olivo - 06/09/2001, modified according to the new java design</li>
 * <li>Philip - 26/12/2010, refactored to remove commented codes (Old codes and args passing in Main method)</li>
 * <br>
 * <br>
 * @author Olivo Miotto
 * @author Philip Chew
 */
public class Vmcs {

	/**
     * Constructor
     * Marked as private as this is the loader class
     */
    private Vmcs () {}

    /**
     * Initialization method for the Vmcs class
     */
    public void start () {

    }

    /**
     * Main Method
     */
    public static void main (String args[]) {
    	try {
    		MainController mcontrl = new MainController();
    		mcontrl.start();
    	}
    	catch(VMCSException e) {
    		System.out.println("Vmcs.start: Error in system initialization: " + e.getMessage());
    		System.exit(0);
    	}
    }
}